import { App } from "vue";
import { registerFormDetailProvider } from "@ibiz-template/runtime";
import FormPage from "./i-biz-form-page.vue";
import { FormPageProvider } from "./i-biz-form-page.provider";

export const IBizFormPage = {
  install(v: App) {
    v.component("IBizFormPage", FormPage);
    registerFormDetailProvider("FORMPAGE", () => new FormPageProvider());
  },
};

export default IBizFormPage;
